﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CardLogistics.Model.CardArrival
{
    /// <summary>
    /// 卡片验收入库_实体类
    /// </summary>
    [Serializable]
    public partial class Storage_Check_Card
    {
        public Storage_Check_Card()
        { }
        #region Model
        private string _id = "sys_guid";
        private string _checkno;
        private string _storagetype;
        private string _boxno;
        private string _orderid;
        private string _startno;
        private string _endno;
        private string _maincardtype;
        private string _childcardtype;
        private string _remark;
        private string _lastupdateuser;
        private DateTime? _lastupdatedate;
        private string _cardno;
        private decimal? _duenumber;
        private decimal? _actualnumber;
        private string _missingcardno;
        private string _examiner;
        private decimal? _boxnumber;
        private decimal? _cardnumber;
        private decimal? _unitprice;
        private decimal? _totalprice;
        private DateTime? _storagedate;
       private decimal? _spareparts;
       private decimal? _premiums;
       private string _Details;

        #region 便于查询字段
        private string _OrderNo; //订单编号
        private string _StorageTypeName;//入库类型
        private string _Maincode; //主卡类型编号
        private string _Childcode; //子卡类型编号
        private string _CardTypeName; //卡类型名称
        private string _BasicTypeName; //芯片类型名称
        private string _TypeName; //入库类型名称
        #endregion

        /// <summary>
        /// 主键ID
        /// </summary>
        public string ID
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 单据编号
        /// </summary>
        public string CHECKNO
        {
            set { _checkno = value; }
            get { return _checkno; }
        }
        /// <summary>
        /// 入库类型
        /// </summary>
        public string STORAGETYPE
        {
            set { _storagetype = value; }
            get { return _storagetype; }
        }
        /// <summary>
        /// 箱号
        /// </summary>
        public string BOXNO
        {
            set { _boxno = value; }
            get { return _boxno; }
        }
        /// <summary>
        /// 订单ID
        /// </summary>
        public string ORDERID
        {
            set { _orderid = value; }
            get { return _orderid; }
        }
        /// <summary>
        /// 起始卡号
        /// </summary>
        public string STARTNO
        {
            set { _startno = value; }
            get { return _startno; }
        }
        /// <summary>
        /// 结束卡号
        /// </summary>
        public string ENDNO
        {
            set { _endno = value; }
            get { return _endno; }
        }
        /// <summary>
        /// 主卡类型
        /// </summary>
        public string MAINCARDTYPE
        {
            set { _maincardtype = value; }
            get { return _maincardtype; }
        }
        /// <summary>
        /// 子卡类型
        /// </summary>
        public string CHILDCARDTYPE
        {
            set { _childcardtype = value; }
            get { return _childcardtype; }
        }
        /// <summary>
        /// 备注
        /// </summary>
        public string REMARK
        {
            set { _remark = value; }
            get { return _remark; }
        }
        /// <summary>
        /// 最后修改人
        /// </summary>
        public string LASTUPDATEUSER
        {
            set { _lastupdateuser = value; }
            get { return _lastupdateuser; }
        }
        /// <summary>
        /// 最后修改时间
        /// </summary>
        public DateTime? LASTUPDATEDATE
        {
            set { _lastupdatedate = value; }
            get { return _lastupdatedate; }
        }
        /// <summary>
        /// 盒号
        /// </summary>
        public string CARDNO
        {
            set { _cardno = value; }
            get { return _cardno; }
        }
        /// <summary>
        /// 应有数量
        /// </summary>
        public decimal? DUENUMBER
        {
            set { _duenumber = value; }
            get { return _duenumber; }
        }
        /// <summary>
        /// 实际数量
        /// </summary>
        public decimal? ACTUALNUMBER
        {
            set { _actualnumber = value; }
            get { return _actualnumber; }
        }
        /// <summary>
        /// 缺卡卡号
        /// </summary>
        public string MISSINGCARDNO
        {
            set { _missingcardno = value; }
            get { return _missingcardno; }
        }
        /// <summary>
        /// 卡片验收员
        /// </summary>
        public string EXAMINER
        {
            set { _examiner = value; }
            get { return _examiner; }
        }

        /// <summary>
        /// 箱数
        /// </summary>
        public decimal? BOXNUMBER
        {
            set { _boxnumber = value; }
            get { return _boxnumber; }
        }
        /// <summary>
        /// 每箱盒数
        /// </summary>
        public decimal? CARDNUMBER
        {
            set { _cardnumber = value; }
            get { return _cardnumber; }
        }

        /// <summary>
        /// 单价
        /// </summary>
        public decimal? UNITPRICE
        {
            set { _unitprice = value; }
            get { return _unitprice; }
        }
        /// <summary>
        /// 总价
        /// </summary>
        public decimal? TOTALPRICE
        {
            set { _totalprice = value; }
            get { return _totalprice; }
        }
        /// <summary>
        /// 入库日期
        /// </summary>
        public DateTime? STORAGEDATE
        {
            set { _storagedate = value; }
            get { return _storagedate; }
        }
        /// <summary>
        /// 备品数量
        /// </summary>
        public decimal? SPAREPARTS
        {
            set { _spareparts = value; }
            get { return _spareparts; }
        }
        /// <summary>
        /// 赠品数量
        /// </summary>
        public decimal? PREMIUMS
        {
            set { _premiums = value; }
            get { return _premiums; }
        }

        /// 入库详细信息 格式如：箱号,盒号,起始卡号,结束卡号
        /// </summary>
        public string Details
        {
            get { return _Details; }
            set { _Details = value; }
        }

        /// <summary>
        /// 0 未提交 1 待审核 2 审核中 3 驳回 4 审核不通过 5审核通过
        /// </summary>
        public int IsSubmit
        {
            get;
            set;
        }

        #region 便于查询字段
        /// <summary>
        /// 订单编号
        /// </summary>
        public string OrderNo
        {
            set { _OrderNo = value; }
            get { return _OrderNo; }
        }



        /// <summary>
        /// 主卡类型编号
        /// </summary>
        public string Maincode
        {
            set { _Maincode = value; }
            get { return _Maincode; }
        }

        /// <summary>
        /// 子卡类型编号
        /// </summary>
        public string Childcode
        {
            set { _Childcode = value; }
            get { return _Childcode; }
        }
        /// <summary>
        /// 卡类型名称
        /// </summary>
        public string CardTypeName
        {
            get { return _CardTypeName; }
            set { _CardTypeName = value; }
        }
        /// <summary>
        /// 芯片类型名称
        /// </summary>
        public string BasicTypeName
        {
            get { return _BasicTypeName; }
            set { _BasicTypeName = value; }
        }

          /// <summary>
        /// 入库类型名称
        /// </summary>
        public string TypeName
        {
            get { return _TypeName; }
            set { _TypeName = value; }
        }

        

        #endregion

        #endregion Model
    }
}
